package String;

public class StringAndStringBuilderDemo {
    public static void main(String[] args) {
        StringBuilder s = new StringBuilder();
        for (int i=0;i<10000000;i++){
            s.append(i);
            System.out.println(s);
        }
    }
}
